Posts

Post marked as solved
6 Replies
Thank you very much for the suggestion! I missed the fact that I could get access to the toolbaritem through page -> tab -> window, and it actually worked for me!See following commit for details.
Post marked as solved
6 Replies
I tried to implement the suggestion by injecting a script to detect keyboard shortcuts but I ran into a new problem.The script part works but it looks like inside the 'messageReceived' method I have no access to ToolbarItem which would allow me to show the popover. The 'messageReceived' method has access to 'SFSafariPage' but not to 'SFSafariWindow' which gives access to the ToolbarItem.Support for keyboard shortcuts would be highly appreciated. Thanks!